package com.bf.electroplating.pojo.dto.environmentally;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.bf.electroplating.pojo.vo.attachment.AttachmentVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * 环保审批DTO
 */
@Data
@Schema ( description = "环保审批DTO" )
public class EnvironmentallyExamineDTO {

	@Schema ( description = "ID" )
	private String id;

	@Schema ( description = "园区ID" )
	private String parkId;

	@Schema ( description = "企业ID" )
    @NotBlank ( message = "企业不能为空")
	private String companyId;

	@Schema ( description = "企业名称" )
	private String companyName;

	@Schema ( description = "环评名称" )
    @NotBlank ( message = "环评名称不能为空")
	private String eiaName;

	@Schema ( description = "项目类型" )
    @NotBlank ( message = "项目类型不能为空")
	private String projectType;

	@Schema ( description = "环评文件" )
    @NotEmpty ( message = "环评文件不能为空")
	private List < AttachmentVo > eiaFile;

	@Schema ( description = "批复文号" )
	private String approvalNumber;

	@Schema ( description = "批复时间" )
	@JsonFormat ( pattern = "yyyy-MM-dd", timezone = "GMT+8" )
	private Date approvalTime;

	@Schema ( description = "批复文件" )
	private List < AttachmentVo > approvalFile;

	@Schema ( description = "验收时间" )
	@JsonFormat ( pattern = "yyyy-MM-dd", timezone = "GMT+8" )
	private Date acceptanceTime;

	@Schema ( description = "验收文件" )
	private List < AttachmentVo > acceptanceFile;
}